package com.item.manager;

import org.immutables.value.Value;

/**
 * Base key/value class for storing different properties for entities.
 *
 * Created by Alexey on 2/27/2015.
 */
@Value.Immutable
public interface Attribute extends Tagged {
    String name();
    public default int asInt() {
        throw new RuntimeException("Not implemented for");
    }
    public Object value();
    public default String asString() {
        throw new RuntimeException("Not implemented for");
    }
}
